﻿using System;
using System.ComponentModel.DataAnnotations;

namespace LJSheng.Data
{
    /// <summary>
    /// 套餐
    /// </summary>
    public class ShopList
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid gid { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime addtime { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int sort { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public int show { get; set; }

        /// <summary>
        /// 关联的用户GID
        /// </summary>
        public Guid usergid { get; set; }

        /// <summary>
        /// 微信ID
        /// </summary>
        [StringLength(50)]
        public string openid { get; set; }

        /// <summary>
        /// 商家帐号
        /// </summary>
        [MaxLength(50)]
        public string account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [MaxLength(50)]
        public string pwd { get; set; }

        /// <summary>
        /// 商家名称
        /// </summary>
        [StringLength(200)]
        public string name { get; set; }

        /// <summary>
        /// 有效时间
        /// </summary>
        public int xfx { get; set; }

        /// <summary>
        /// 机器码位数
        /// </summary>
        public int xfd { get; set; }

        /// <summary>
        /// 商家收入
        /// </summary>
        public decimal rmb { get; set; }

        /// <summary>
        /// 原价
        /// </summary>
        public int yjrmb { get; set; }

        /// <summary>
        /// 售价
        /// </summary>
        public int payrmb { get; set; }

        /// <summary>
        /// 商家特色
        /// </summary>
        [StringLength(200)]
        public string tese { get; set; }

        /// <summary>
        /// 最惠待遇
        /// </summary>
        [StringLength(50)]
        public string zhekou { get; set; }

        /// <summary>
        /// 返利比例
        /// </summary>
        public decimal fl { get; set; }

        /// <summary>
        /// 省份
        /// </summary>
        [StringLength(20)]
        public string province { get; set; }
        /// <summary>
        /// 城市
        /// </summary>
        [StringLength(20)]
        public string city { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        [StringLength(20)]
        public string area { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        [StringLength(100)]
        public string address { get; set; }

        /// <summary>
        /// 商家电话
        /// </summary>
        [StringLength(50)]
        public string lxfs { get; set; }
        /// <summary>
        /// 商家简介
        /// </summary>
        [StringLength(2000)]
        public string explain { get; set; }

        /// <summary>
        /// 商家详情
        /// </summary>
        public string introduce { get; set; }

        /// <summary>
        /// 商家图片
        /// </summary>
        [StringLength(50)]
        public string picture { get; set; }

        /// <summary>
        /// 统一社会信用代码证图片
        /// </summary>
        [StringLength(50)]
        public string dmz { get; set; }

        /// <summary>
        /// 权限[1=正常 2=审核中 3=锁定]
        /// </summary>
        [StringLength(20)]
        public string qx { get; set; }

        /// <summary>
        /// 级别[1=合作型 2=商务型]
        /// </summary>
        [StringLength(20)]
        public string grade { get; set; }

        /// <summary>
        /// 收款二维码
        /// </summary>
        [StringLength(50)]
        public string ewm { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
        [StringLength(50)]
        public string khh { get; set; }

        /// <summary>
        /// 开户名
        /// </summary>
        [StringLength(50)]
        public string khm { get; set; }

        /// <summary>
        /// 帐号
        /// </summary>
        [StringLength(50)]
        public string kahao { get; set; }

        /// <summary>
        /// 最后登录标识
        /// </summary>
        [StringLength(50)]
        public string loginid { get; set; }

        /// <summary>
        /// 分类外键
        /// </summary>
        public Guid? flgid { get; set; }
    }
}
